package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.TService;

/**
 * 宿舍报修Mapper接口
 * 
 * @author cyh
 * @date 2024-05-09
 */
public interface TServiceMapper 
{
    /**
     * 查询宿舍报修
     * 
     * @param serviceId 宿舍报修主键
     * @return 宿舍报修
     */
    public TService selectTServiceByServiceId(Long serviceId);

    /**
     * 查询宿舍报修列表
     * 
     * @param tService 宿舍报修
     * @return 宿舍报修集合
     */
    public List<TService> selectTServiceList(TService tService);

    /**
     * 新增宿舍报修
     * 
     * @param tService 宿舍报修
     * @return 结果
     */
    public int insertTService(TService tService);

    /**
     * 修改宿舍报修
     * 
     * @param tService 宿舍报修
     * @return 结果
     */
    public int updateTService(TService tService);

    /**
     * 删除宿舍报修
     * 
     * @param serviceId 宿舍报修主键
     * @return 结果
     */
    public int deleteTServiceByServiceId(Long serviceId);

    /**
     * 批量删除宿舍报修
     * 
     * @param serviceIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTServiceByServiceIds(Long[] serviceIds);
}
